package org.flashbrighton.as3bots.events
{
	import flash.events.Event;

	public class CollectGemEvent extends HitEvent
	{
		public static const COLLECT_GEM:String = "collectGem";
		private var _bonus:int;
		
		public function CollectGemEvent(collisionPoint:Number, bonus:int)
		{
			super(COLLECT_GEM, collisionPoint);
			this._bonus = bonus;
		}
		
		public function get bonus():int{
			return _bonus;
		}
						
	}
}